package com.jevons.geo_lib.op_history;


import com.mapbox.geojson.Feature;

/**
 * Copyright 2020 JxGIS
 *
 * @file QiegeHistory
 * @auth linaisheng
 * Created on 2020/12/2.
 * Description：
 */
public class ShanchuHistory implements OperationHistory {

    protected String featureTempId;
    protected Feature chooseFeature;

    public ShanchuHistory(String featureTempId, Feature chooseFeature) {
        this.featureTempId = featureTempId;
        this.chooseFeature = chooseFeature;
    }

    @Override
    public String getOperateFlag() {
        return "op_shanchu";
    }

    @Override
    public DrawType getDrawType() {
        return DrawType.Shanchu;
    }

    public String getFeatureId() {
        return featureTempId;
    }

    public Feature getChooseFeature() {
        return chooseFeature;
    }
}
